package serverproject.model;

public enum RankEnum
{
	사장(1, "사장"),
	이사(2, "이사"),
	부장(3, "부장"),
	차장(4, "차장"),
	과장(5, "과장"),
	팀장(6, "팀장"),
	대리(7, "대리"),
	사원(8, "사원"),
	인턴(9, "인턴");
	
	
	
	private String name;
	private int number;
	
	private RankEnum(int number, String name)
	{
		this.name = name;
		this.number = number;
	}

	/**
	 * @return the name
	 */
	public String getName()
	{
		return name;
	}

	/**
	 * @param name the name to set
	 */
	public void setName(String name)
	{
		this.name = name;
	}

	/**
	 * @return the number
	 */
	public int getNumber()
	{
		return number;
	}

	/**
	 * @param number the number to set
	 */
	public void setNumber(int number)
	{
		this.number = number;
	}

}
